package com.kzd.btgame.entity

import java.io.Serializable

data class AppUpdate(
    val apk_file_url: String,
    val constraint: Boolean,
    val new_md5: String,
    val new_version: String,
    val target_size: String,
    val update: String,
    val update_log: String,
    val isForceUpdate: Int,
    val versionCode: String,
)

data class AppTips(
    val coupon_unread: Int,//": 0,//代表未读代金卷数量
    val msg_rs: Int,//": 1,//0没有未读消息1有未读消息
    val msg_title: String,//": "组织给你留言了，记得看一下",
    val msg_name: String,//": "老铁，打扰一下",
    val icon: String,//": "http://work.xianjuhy.com/static/app/img/msg_icon.png"
)

data class UserInfo(
    val address: String,
    val face: String,
    val gender: Any,
    val huiyuan_time: String,
    val idcard: String,
    val is_huiyuan: Int,
    val is_saving: Int,
    val mobile: String,
    val name: String,
    val pet_name: String,
    val qq: String,
    val saving_day: Int,
    val saving_time: String,
    val user_id: String,
    val user_name: String,
    val verify_info: Int,
    val is_new: Int,
    val is_pwd: Int,//0未设置1已设置
)

data class UserMine(
    val coin: String? = null,
    val coupon_count: Int? = null,
    val huiyuan_name: String? = null,
    val is_huiyuan: Int? = null,
    val mobile: String? = null,
    val pet_name: String? = null,
    val points: String? = null,
    val user_id: String? = null,
    val user_name: String? = null,
)

data class FeedbackType(
    val id: Int,
    val name: String,
) {
    var isSelect: Boolean = false
}

data class PlatformData(
    val ratio: Int,
    val count: Int,
    val is_have: Int,
    val data: MutableList<PlatformMoney> = mutableListOf(),
)

data class PlatformMoney(
    val coin: Int,
    val id: Int,
    val money: Int,
)

data class MallGoods(
    val goods_id: String,
    val goods_name: String,
    val goods_thumb: String,
    val market_price: String,
)

data class MineDiscuss(
    val biaoqian: Array<String> = arrayOf(),
    val type: String,
    val cai: String,
    val content: String,
    val fujian: String,
    val gid: String,
    val icon: String,
    val id: String,
    val image: String,
    val jiajing: String,
    val name: String,
    val pid: String,
    val reply_uid: String,
    val sign: String,
    val status: String,
    val time: String,
    val uid: String,
    val zan: String,
)

data class MineOrder(
    val id: String,
    val points: String,
    val time: String,
    val type_name: String,
)

data class MineLottery(
    var gold: String,
    var note: String,
    var time: String,
    var user_id: String,
)

data class UserMessage(
    val content: String,
    val id: String,
    val name: String,
    val read: String,
    val time: String,
    val type: String,
) : Serializable

data class UserInvite(
    var friend_url: String,
    var num: Int,
    var points: String,
    var text: String,
    var my_points: String,
    var qrcode: String,
    var share_img: String,
    var share_title: String,
    var share_content: String,
)

data class UserAgree(
    val content: String?,
    val create_at: String,
    val id: String,
    val name: String,
    val type: String,
    val update_at: String,
    val url: String?,
)

data class UserService(
    val content: String,
    val create_at: String,
    val id: String,
    val image: String?,
    val name: String,
    val qq: Int,
    val type: String,
    val update_at: String,
    val url: String,
    val weixi: String,
    val qy_wx_img: String? = null,
    val gzh_img: String? = null,
)

data class UserAddress(
    var area: Any? = null,
    var city: String? = null,
    var consignee: String? = null,
    var id: String? = null,
    var mobile: String? = null,
    var moren: String = "0",
    var province: String? = null,
    var uaddress: String? = null,
    var uid: String? = null,
) : Serializable